﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
using System.Windows.Media;
using CommunityToolkit.Mvvm.ComponentModel;

namespace App2Wpf.Models
{
    public class CardModel : ObservableObject
    {
        public string _cardTitle;

        public string cardTitle
        {
            get => _cardTitle;
            set
            {
                SetProperty(ref _cardTitle, value);
            }
        }

        public ImageSource _cardFrame;

        public ImageSource cardFrame
        {
            get => _cardFrame;
            set
            {
                SetProperty(ref _cardFrame, value);
            }
        }
        //public string cardFrame { get; set; }

        public WriteableBitmap _writeableBitmap;
        public WriteableBitmap writeableBitmap
        {
            get => _writeableBitmap;
            set
            {
                SetProperty(ref _writeableBitmap, value);
            }
        }

    }
}
